﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Samples.ServiceHosting.StorageClient;

namespace Ciripescu_WebRole.Entities
{
    public class Urmarire : TableStorageEntity
    {
        // user (=PartitionKey) follows followsUser(=RowKey)
        // most frequent query: "what users do I follow?" - we know followsUser and we need all rows from that partition
        //
        public Urmarire(string user, string followsUser)
            : base(user, followsUser)
        {
        }
        public Urmarire() { }
        public string getUser()
        {
            return PartitionKey;
        }
        public string getFollowdUser()
        {
            return RowKey;
        }
    }
}
